package com.example.book.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart {
    @TableId(value="id", type= IdType.AUTO)
    private Integer id;
    private Integer userId;
    private Integer bookId;
    private String bookName;
    private Integer bookNum;
    private Float bookPrice;
    private String bookAuthor;
    private Float totalPrice;
    private String bookImg;
    private Integer status;
}
